package graphicsExtended.animation.animationSequence;

/**
 *
 * @author Shimu
 * @date 7-Oct-2012
 */
public abstract class StillFrame implements AnimationSequence {

    private boolean retrievedFrame = false;

    @Override
    public final int getStatus() {
        if (retrievedFrame) {
            return AnimationSequence.STATUS_NO_MORE_FRAMES;
        }
        retrievedFrame = true;
        return AnimationSequence.STATUS_FRAME_READY;
    }
}
